using System;
using System.Collections.Generic;
using System.Text;
using WCFClient.ServiceReference1;

namespace WCFClient
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Press Button To Start ..");
            Console.ReadLine();
            InputObject inp = new InputObject();
            inp.LastName = "Ivanov";
            inp.FirstName = "Ivan";
            MyServiceClient srv = new MyServiceClient();
            OutputObject otp = srv.doAction(inp);
            Console.WriteLine(otp.Message);
            Console.ReadLine();
        }
    }
}
